﻿package j.sus2maj7.encoding
{
	import j.sus2maj7.ability.*;
	import j.sus2maj7.context.*;
	
	public interface IEncoding extends IDestroyable
	{
		function get binary():IBinary;
		function set binary(value:IBinary):void;
		
		function get object():*;
		function set object(value:*):void;
		
		function get codec():ICodec;
		function set codec(value:ICodec):void;
		
		function decode(context:IContext=null):void;
		function encode(context:IContext=null):void;
	}
	
}